package com.devouty.mp3online.utils;
//for log
import android.content.Context;
import android.util.Log;
import android.widget.Toast;

public class LogUtil {
    private static final String tag = "myLog";
    private static final boolean isOpen = true;

    public static void log(String log)
    {
        if(isOpen)
        {
            Log.d(tag, log);
        }
    }

    public static void toast(Context context, String message){
        Toast.makeText(context,message,Toast.LENGTH_SHORT).show();
    }

}
